package example.documentbased.mainModule.services
{
	public class ServiceLocator implements IServiceLocator
	{
		private var _editorService:IEditorService;
		private var _documentService:IDocumentService;
		
		public function ServiceLocator(editorService:IEditorService, documentService:IDocumentService)
		{
			_editorService = editorService;
			_documentService = documentService;
		}
		
		public function getEditorService():IEditorService
		{
			return _editorService;
		}
		
		public function getDocumentService():IDocumentService
		{
			return _documentService;
		}
	}
}